package com.bkgy.modular.tbdsjdatadictionary.dao;

import com.bkgy.modular.tbdsjdatadictionary.entity.TbDsjDataDictionary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数据字典表dao接口
 * @author  生成器生成
 * @date 2022-07-28 12:31:19
 * */
@Mapper
public interface TbDsjDataDictionaryDao {

    /**
     * 添加记录
     * @param tbDsjDataDictionary  对象实体
     * */
    public void insertDataTbDsjDataDictionary(TbDsjDataDictionary tbDsjDataDictionary);

    /**
     * 根据主键删除对象
     * @param //indocno  对象主键
     * */
    public void deleteDataTbDsjDataDictionaryOne(@Param("dic_variable_name") String dic_variable_name, @Param("in_data_source") String in_data_source);

    /**
     * 删除多个对象
     * @param value sql语句
     */
    public void deleteDataTbDsjDataDictionaryMany(String value);

    /**
     * 修改记录
     * @param tbDsjDataDictionary  对象实体
     * */
    public void updateDataTbDsjDataDictionary(TbDsjDataDictionary tbDsjDataDictionary);


    /**
     * 分页查看查看记录
     * @param pageIndex 第几页
     * @param pageSize  每页总数
     * @return 对象数据集合
     */
    public List<TbDsjDataDictionary> findDataTbDsjDataDictionaryByPage(@Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize, @Param("dic_variable_description") String dic_variable_description, @Param("production_line") String production_line, @Param("dic_variable_name") String dic_variable_name);

    /**
     * 根据条件查看记录的总数
     * @return 对象数据集合
     */
    public Integer findDataTbDsjDataDictionaryByPageSize(@Param("dic_variable_description") String dic_variable_description, @Param("production_line") String production_line, @Param("dic_variable_name") String dic_variable_name);

    /***
     * 根据主键查询信息
     * @param indocno 用户id
     * @return
     */
    public TbDsjDataDictionary findDataTbDsjDataDictionaryByIndocno(@Param("indocno") Long indocno);

    /**
     * 查看记录
     * @return 对象数据集合
     * */
    public List<TbDsjDataDictionary> findDataTbDsjDataDictionary();

}
